package com.ymatou.iapi.trading.operate.parameter.req;

import java.math.BigDecimal;
import java.util.List;

import com.ymatou.iapi.trading.operate.parameter.enums.PromotionTypeEnum;

public class SellerPromotionApportionVo {

	private static final long serialVersionUID = 2017891853995163971L;

	// 营销活动ID
	private long id;

	// 活动类型
	private PromotionTypeEnum type;

	// 活动名称
	private String name;

	// 满件时，需要达到的件数
	private int qtyCondition;

	// 满金额时，需要达到的金额数
	private BigDecimal amountCondition;

	// 优惠的金额或折扣
	private BigDecimal promotionValue;

	// 优惠金额分摊信息
	private List<CatalogApportionVo> apportions;

	// 所有商品总共优惠的金额
	private BigDecimal reducedAmount;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public PromotionTypeEnum getType() {
		return type;
	}

	public void setType(PromotionTypeEnum type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getQtyCondition() {
		return qtyCondition;
	}

	public void setQtyCondition(int qtyCondition) {
		this.qtyCondition = qtyCondition;
	}

	public BigDecimal getAmountCondition() {
		return amountCondition;
	}

	public void setAmountCondition(BigDecimal amountCondition) {
		this.amountCondition = amountCondition;
	}

	public BigDecimal getPromotionValue() {
		return promotionValue;
	}

	public void setPromotionValue(BigDecimal promotionValue) {
		this.promotionValue = promotionValue;
	}

	public List<CatalogApportionVo> getApportions() {
		return apportions;
	}

	public void setApportions(List<CatalogApportionVo> apportions) {
		this.apportions = apportions;
	}

	public BigDecimal getReducedAmount() {
		return reducedAmount;
	}

	public void setReducedAmount(BigDecimal reducedAmount) {
		this.reducedAmount = reducedAmount;
	}
}
